/* Optimized Large & Sleek Product Parameters Table for Shoptet */
/* High Performance Version */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* Main wrapper styling */
.p-param-block {
    margin: 60px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.detail-parameters-wrapper {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Table styling */
.detail-parameters {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    background: transparent;
    border: none;
}

.detail-parameters tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-parameters tbody tr:last-child {
    border-bottom: none;
}

.detail-parameters tbody tr:hover {
    background: rgba(102, 126, 234, 0.04);
}

/* Enhanced table headers (left column) */
.detail-parameters th {
    background: transparent;
    border: none;
    padding: 32px 40px 32px 0;
    text-align: left;
    vertical-align: middle;
    width: 42%;
}

.row-header-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem; /* Large size maintained */
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.row-header-label-colon {
    color: #667eea;
    font-weight: 800;
    margin-left: 4px;
    font-size: 1.8rem;
}

/* Enhanced table data (right column) */
.detail-parameters td {
    background: transparent;
    border: none;
    padding: 32px 0 32px 40px;
    text-align: left;
    vertical-align: middle;
    font-size: 1.5rem; /* Large size maintained */
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Optimized links in table data */
.detail-parameters td a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.detail-parameters td a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Social buttons section styling removed per user request */

/* Add left margin for social buttons spacing */
.social-buttons-wrapper {
    margin-left: 40px;
}

/* Special styling for cosmetic condition row */
.detail-parameters tbody tr:has(th .row-header-label:contains("Kosmetický stav")) td {
    font-weight: 800;
    color: #48bb78;
    font-size: 1.7rem;
}

/* Optimized responsive design */
@media (max-width: 1024px) {
    .detail-parameters-wrapper {
        padding: 40px;
    }
    
    .row-header-label {
        font-size: 1.5rem;
    }
    
    .detail-parameters td {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .detail-parameters-wrapper {
        padding: 32px;
        border-radius: 24px;
    }
    
    .detail-parameters th,
    .detail-parameters td {
        padding: 24px 0;
        display: block;
        width: 100%;
    }
    
    .detail-parameters th {
        padding-bottom: 12px;
    }
    
    .detail-parameters td {
        padding-top: 0;
        padding-bottom: 28px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 20px;
    }
    
    .row-header-label {
        font-size: 1.4rem;
    }
    
    .detail-parameters td {
        font-size: 1.3rem;
    }
    
    /* Social buttons responsive styling removed */
}

@media (max-width: 480px) {
    .detail-parameters-wrapper {
        padding: 24px;
        margin: 28px 0;
    }
    
    .row-header-label {
        font-size: 1.3rem;
    }
    
    .detail-parameters td {
        font-size: 1.2rem;
    }
    
    /* Social buttons mobile styling removed */
}

/* Ultra-light loading animation */
.detail-parameters-wrapper {
    animation: simpleIn 0.3s ease-out;
}

@keyframes simpleIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hide original styling */
.detail-parameters tbody tr {
    background: transparent !important;
}

.detail-parameters th,
.detail-parameters td {
    border: none !important;
    background: transparent !important;
}

/* Simple zebra striping */
.detail-parameters tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.detail-parameters tbody tr:nth-child(even):hover {
    background: rgba(102, 126, 234, 0.06);
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}